﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sdk
{
    /// <summary>
    /// 字段类型
    /// </summary>
    public enum FieldTypeEnum
    { 
        String,
        Int,
        Decimal,
        Float,
        Double,
        Long,
        DateTime
    }

    /// <summary>
    /// 数据库类型
    /// </summary>
    public enum DbTypeEnum
    { 
        MySql,
        Oracle,
        SqlServer
    }

    /// <summary>
    /// 输入文档类型
    /// </summary>
    public enum InputFileTypeEnum
    { 
        Docx,
        Markdown
    }

    /// <summary>
    /// 文档每一行数据的类型
    /// </summary>
    public enum LineTypeEnum
    {
        /// <summary>
        /// 表名
        /// </summary>
        TableName,
        /// <summary>
        /// 表头
        /// </summary>
        TableHead,
        /// <summary>
        /// 表行
        /// </summary>
        TableRow,
        /// <summary>
        /// SQL代码
        /// </summary>
        SQL,
        /// <summary>
        /// 一般文字
        /// </summary>
        Text
    }

    public enum TableTypeEnum
    {
        Struct,
        Data,
        Other
    }
}
